﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Koonsoft.HYCRM.BLL;

public partial class Financial_OrderAudit : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if(!IsPostBack)
        {
            BindData();
        }
    }

    private void BindData()
    {
        string orderID;

        if(Request.QueryString["OrderID"] == null)
        {
            return;
        }

        if(Request.QueryString["OrderID"].Length != 10)
        {
            return;
        }

        orderID = Request.QueryString["OrderID"];

        TargetOrderID.Text = orderID;

        GridView1.DataSource = new PaymentBLL().GetTransactionTrackByOrderID(orderID);

        GridView1.DataBind();
    }
}